﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace gt.AspNetCore.Authentication.Basic.Events
{
    public class BasicEvents
    {
        public Func<BasicTokenValidatedContext, Task> OnTokenValidated { get; set; } = context => Task.CompletedTask;

        public virtual Task TokenValidated(BasicTokenValidatedContext context) => OnTokenValidated(context);
    }
}
